<template>
  <div id="Shopping-Top">
    <div v-if="s1">
      <div class="shoppingTop">
        <div class="shoppingTop-left">
          <img src="../../assets/Shopping/topLOGO.png" alt="topLOGO" />
        </div>
        <div class="shoppingTop-right">
          <span class="shoppingTop-right-sp1">我的购物车</span>
          <img src="../../assets/Shopping/顺序.png" alt="顺序" />
          <span class="shoppingTop-right-sp2">确认订单信息</span>
          <img src="../../assets/Shopping/顺序.png" alt="顺序" />
          <span class="shoppingTop-right-sp3">订单提交成功</span>
        </div>
      </div>
    </div>
    <div v-if="s2">
      <div class="shoppingTop">
        <div class="shoppingTop-left">
          <img src="../../assets/Shopping/topLOGO.png" alt="topLOGO" />
        </div>
        <div class="shoppingTop-right">
          <span class="shoppingTop-right-s1">我的购物车</span>
          <img src="../../assets/Shopping/顺序.png" alt="顺序" />
          <span class="shoppingTop-right-s2">确认订单信息</span>
          <img src="../../assets/Shopping/顺序.png" alt="顺序" />
          <span class="shoppingTop-right-sp3">订单提交成功</span>
        </div>
      </div>
    </div>
    <div v-if="s3">
      <div class="shoppingTop">
        <div class="shoppingTop-left">
          <img src="../../assets/Shopping/topLOGO.png" alt="topLOGO" />
        </div>
        <div class="shoppingTop-right">
          <span class="shoppingTop-right-s1">我的购物车</span>
          <img src="../../assets/Shopping/顺序.png" alt="顺序" />
          <span class="shoppingTop-right-sp2">确认订单信息</span>
          <img src="../../assets/Shopping/顺序.png" alt="顺序" />
          <span class="shoppingTop-right-s3">订单提交成功</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "Shopping-Top",
  data() {
    return {};
  },
  props: {
    s1: {
      default: true,
    },
    s2: {
      default: true,
    },
    s3: {
      default: true,
    },
  },
};
</script>
<style scoped>
.shoppingTop {
  width: 1280px;
  height: 130px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.shoppingTop-left {
  width: 280px;
  height: 130px;
}
.shoppingTop-left > img {
  width: 280px;
  height: 130px;
}
.shoppingTop-right {
  width: 500px;
  height: 130px;
  line-height: 130px;
  display: flex;
  justify-content: space-between;
}
.shoppingTop-right-sp1 {
  color: #f08200;
  font-size: 18px;
}
.shoppingTop-right-s2 {
  color: #f08200;
  font-size: 18px;
}
.shoppingTop-right-s3 {
  color: #f08200;
  font-size: 18px;
}
.shoppingTop-right img {
  width: 18px;
  height: 18px;
  margin-top: 56px;
}
</style>
